Nevron Open Vision Documentation
Nevron.Nov.Text Namespace / NEncoding Class / GetCharCount Method / GetCharCount(Byte[]) Method
The bytes to decode.


In This Topic
    GetCharCount(Byte[]) Method
    In This Topic
    Calculates the number of characters produced by decoding all the bytes from the specified byte array.
    Syntax
    'Declaration
     
    
    Public Overloads Function GetCharCount( _
       ByVal bytes() As System.Byte _
    ) As System.Integer
    'Usage
     
    
    Dim instance As NEncoding
    Dim bytes() As System.Byte
    Dim value As System.Integer
     
    value = instance.GetCharCount(bytes)
    public System.int GetCharCount( 
       System.byte[] bytes
    )

    Parameters

    bytes
    The bytes to decode.

    Return Value

    The number of resulting characters.
    Requirements

    Target Platforms: Windows 11, Windows 10, Windows 7, Windows Server 2019, Windows Server 2016, Windows Server 2012 R2, Windows Server 2012, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later)

    See Also